package com.cn.dream_order_server.pojo;

import java.util.ArrayList;
import java.util.List;

public class OrderOrdertypeManageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderOrdertypeManageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderOrdertypeManageIdIsNull() {
            addCriterion("order_ordertype_manage_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdIsNotNull() {
            addCriterion("order_ordertype_manage_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdEqualTo(Integer value) {
            addCriterion("order_ordertype_manage_id =", value, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdNotEqualTo(Integer value) {
            addCriterion("order_ordertype_manage_id <>", value, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdGreaterThan(Integer value) {
            addCriterion("order_ordertype_manage_id >", value, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_ordertype_manage_id >=", value, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdLessThan(Integer value) {
            addCriterion("order_ordertype_manage_id <", value, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_ordertype_manage_id <=", value, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdIn(List<Integer> values) {
            addCriterion("order_ordertype_manage_id in", values, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdNotIn(List<Integer> values) {
            addCriterion("order_ordertype_manage_id not in", values, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdBetween(Integer value1, Integer value2) {
            addCriterion("order_ordertype_manage_id between", value1, value2, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_ordertype_manage_id not between", value1, value2, "orderOrdertypeManageId");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameIsNull() {
            addCriterion("order_ordertype_manage_name is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameIsNotNull() {
            addCriterion("order_ordertype_manage_name is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameEqualTo(String value) {
            addCriterion("order_ordertype_manage_name =", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameNotEqualTo(String value) {
            addCriterion("order_ordertype_manage_name <>", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameGreaterThan(String value) {
            addCriterion("order_ordertype_manage_name >", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameGreaterThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_name >=", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameLessThan(String value) {
            addCriterion("order_ordertype_manage_name <", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameLessThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_name <=", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameLike(String value) {
            addCriterion("order_ordertype_manage_name like", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameNotLike(String value) {
            addCriterion("order_ordertype_manage_name not like", value, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameIn(List<String> values) {
            addCriterion("order_ordertype_manage_name in", values, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameNotIn(List<String> values) {
            addCriterion("order_ordertype_manage_name not in", values, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_name between", value1, value2, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageNameNotBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_name not between", value1, value2, "orderOrdertypeManageName");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgIsNull() {
            addCriterion("order_ordertype_manage_msg is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgIsNotNull() {
            addCriterion("order_ordertype_manage_msg is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgEqualTo(String value) {
            addCriterion("order_ordertype_manage_msg =", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgNotEqualTo(String value) {
            addCriterion("order_ordertype_manage_msg <>", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgGreaterThan(String value) {
            addCriterion("order_ordertype_manage_msg >", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgGreaterThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_msg >=", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgLessThan(String value) {
            addCriterion("order_ordertype_manage_msg <", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgLessThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_msg <=", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgLike(String value) {
            addCriterion("order_ordertype_manage_msg like", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgNotLike(String value) {
            addCriterion("order_ordertype_manage_msg not like", value, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgIn(List<String> values) {
            addCriterion("order_ordertype_manage_msg in", values, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgNotIn(List<String> values) {
            addCriterion("order_ordertype_manage_msg not in", values, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_msg between", value1, value2, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageMsgNotBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_msg not between", value1, value2, "orderOrdertypeManageMsg");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2IsNull() {
            addCriterion("order_ordertype_manage_other2 is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2IsNotNull() {
            addCriterion("order_ordertype_manage_other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2EqualTo(String value) {
            addCriterion("order_ordertype_manage_other2 =", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2NotEqualTo(String value) {
            addCriterion("order_ordertype_manage_other2 <>", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2GreaterThan(String value) {
            addCriterion("order_ordertype_manage_other2 >", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2GreaterThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other2 >=", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2LessThan(String value) {
            addCriterion("order_ordertype_manage_other2 <", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2LessThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other2 <=", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2Like(String value) {
            addCriterion("order_ordertype_manage_other2 like", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2NotLike(String value) {
            addCriterion("order_ordertype_manage_other2 not like", value, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2In(List<String> values) {
            addCriterion("order_ordertype_manage_other2 in", values, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2NotIn(List<String> values) {
            addCriterion("order_ordertype_manage_other2 not in", values, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2Between(String value1, String value2) {
            addCriterion("order_ordertype_manage_other2 between", value1, value2, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther2NotBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_other2 not between", value1, value2, "orderOrdertypeManageOther2");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3IsNull() {
            addCriterion("order_ordertype_manage_other3 is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3IsNotNull() {
            addCriterion("order_ordertype_manage_other3 is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3EqualTo(String value) {
            addCriterion("order_ordertype_manage_other3 =", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3NotEqualTo(String value) {
            addCriterion("order_ordertype_manage_other3 <>", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3GreaterThan(String value) {
            addCriterion("order_ordertype_manage_other3 >", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3GreaterThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other3 >=", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3LessThan(String value) {
            addCriterion("order_ordertype_manage_other3 <", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3LessThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other3 <=", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3Like(String value) {
            addCriterion("order_ordertype_manage_other3 like", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3NotLike(String value) {
            addCriterion("order_ordertype_manage_other3 not like", value, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3In(List<String> values) {
            addCriterion("order_ordertype_manage_other3 in", values, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3NotIn(List<String> values) {
            addCriterion("order_ordertype_manage_other3 not in", values, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3Between(String value1, String value2) {
            addCriterion("order_ordertype_manage_other3 between", value1, value2, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther3NotBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_other3 not between", value1, value2, "orderOrdertypeManageOther3");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4IsNull() {
            addCriterion("order_ordertype_manage_other4 is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4IsNotNull() {
            addCriterion("order_ordertype_manage_other4 is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4EqualTo(String value) {
            addCriterion("order_ordertype_manage_other4 =", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4NotEqualTo(String value) {
            addCriterion("order_ordertype_manage_other4 <>", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4GreaterThan(String value) {
            addCriterion("order_ordertype_manage_other4 >", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4GreaterThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other4 >=", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4LessThan(String value) {
            addCriterion("order_ordertype_manage_other4 <", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4LessThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other4 <=", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4Like(String value) {
            addCriterion("order_ordertype_manage_other4 like", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4NotLike(String value) {
            addCriterion("order_ordertype_manage_other4 not like", value, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4In(List<String> values) {
            addCriterion("order_ordertype_manage_other4 in", values, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4NotIn(List<String> values) {
            addCriterion("order_ordertype_manage_other4 not in", values, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4Between(String value1, String value2) {
            addCriterion("order_ordertype_manage_other4 between", value1, value2, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther4NotBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_other4 not between", value1, value2, "orderOrdertypeManageOther4");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5IsNull() {
            addCriterion("order_ordertype_manage_other5 is null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5IsNotNull() {
            addCriterion("order_ordertype_manage_other5 is not null");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5EqualTo(String value) {
            addCriterion("order_ordertype_manage_other5 =", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5NotEqualTo(String value) {
            addCriterion("order_ordertype_manage_other5 <>", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5GreaterThan(String value) {
            addCriterion("order_ordertype_manage_other5 >", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5GreaterThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other5 >=", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5LessThan(String value) {
            addCriterion("order_ordertype_manage_other5 <", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5LessThanOrEqualTo(String value) {
            addCriterion("order_ordertype_manage_other5 <=", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5Like(String value) {
            addCriterion("order_ordertype_manage_other5 like", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5NotLike(String value) {
            addCriterion("order_ordertype_manage_other5 not like", value, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5In(List<String> values) {
            addCriterion("order_ordertype_manage_other5 in", values, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5NotIn(List<String> values) {
            addCriterion("order_ordertype_manage_other5 not in", values, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5Between(String value1, String value2) {
            addCriterion("order_ordertype_manage_other5 between", value1, value2, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }

        public Criteria andOrderOrdertypeManageOther5NotBetween(String value1, String value2) {
            addCriterion("order_ordertype_manage_other5 not between", value1, value2, "orderOrdertypeManageOther5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}